home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / misc / iedit210.lha / ieditor / Install < prev    next >
Text File  |  1995-08-29  |  3KB  |  159 lines

  1. ; $VER: InterfaceEditor-Install 1.2 (29.8.95)
  2.  
  3. (complete 0)
  4.  
  5. (set InstallDir
  6.    (askdir
  7.       (prompt "Where do you want to install Interface Editor?")
  8.       (help @askdir-help)
  9.       (default "Work:")
  10.    )
  11. )
  12.  
  13. (Set DestDir 
  14.    (tackon InstallDir "IEditor")
  15. )
  16.  
  17. (Set IncludeDir 
  18.    (tackon DestDir "Include")
  19. )
  20.  
  21. (Set PatcherDir
  22.    (tackon DestDir "Patcher")
  23. )
  24.  
  25. (Set LocaleDir
  26.    (tackon DestDir "Locale")
  27. )
  28.  
  29. (set @default-dest 
  30.    DestDir
  31. )
  32.  
  33. (makedir
  34.    DestDir 
  35.    (infos)
  36. )
  37.  
  38. (complete 10)
  39.  
  40. (if (<= (/ (getversion) 65536) 38)
  41.    (set Kick2 1)
  42.    (set Kick2 0)
  43. )
  44.  
  45. (copyfiles
  46.   (source "")
  47.   (dest DestDir)
  48.   (pattern "~(Install|Locale|Libs)#?")
  49.   (infos)
  50.   (noposition)
  51. )
  52.  
  53.  
  54. (if Kick2
  55.    (tooltype
  56.       (dest (tackon DocsDir "InterfaceEditor_ENG.guide"))
  57.       (setdefaulttool "AmigaGuide")
  58.       (dest (tackon DocsDir "InterfaceEditor_ITA.guide"))
  59.       (setdefaulttool "AmigaGuide")
  60.    )
  61. )
  62.  
  63. (complete 50)
  64.  
  65. (makedir
  66.   LocaleDir
  67.   (infos)
  68. )
  69.  
  70. (copyfiles
  71.   (source "Locale")
  72.   (dest LocaleDir)
  73.   (pattern "IEditor#?.c#?")
  74. )
  75.  
  76. (complete 60)
  77.  
  78. (if
  79.   (askbool
  80.      (prompt "Shall I copy the Patcher?   "
  81.            "This program is needed to convert v2.07 GUI files "
  82.            "into v2.09 ones.")
  83.      (help "If you have many files v2.07, I think you should install Patcher... ;)")
  84.   )
  85.        (
  86.          (makedir
  87.            PatcherDir
  88.            (infos)
  89.         )
  90.  
  91.          (copyfiles
  92.            (source "Patcher")
  93.            (dest PatcherDir)
  94.            (all)
  95.            (infos)
  96.            (noposition)
  97.          )
  98.        )
  99. )
  100.  
  101. (complete 70)
  102.  
  103. (if
  104.   (askbool
  105.      (prompt "Shall I copy the Include files?   "
  106.            "This files are needed if you want to compile "
  107.            "the sources created by IEditor but you doesn't "
  108.            "have the Includes release 3.0+")
  109.      (help "Well, if your kickstart isn't v3.0+, you should install these files...")
  110.   )
  111.        (
  112.          (makedir
  113.            IncludeDir
  114.            (infos)
  115.          )
  116.  
  117.          (copyfiles
  118.            (source "Include")
  119.            (dest IncludeDir)
  120.            (all)
  121.            (infos)
  122.            (noposition)
  123.          )
  124.        )
  125. )
  126.  
  127. (complete 80)
  128.  
  129. (copylib
  130.   (prompt "Copying nofrag.library")
  131.   (help @copylib)
  132.   (source "Libs/nofrag.library")
  133.   (dest "LIBS:")
  134.   (confirm)
  135. )
  136.  
  137. (complete 85)
  138.  
  139. (copylib
  140.   (prompt "Copying reqtools.library")
  141.   (help @copylib)
  142.   (source "Libs/reqtools.library")
  143.   (dest "LIBS:")
  144.   (confirm)
  145. )
  146.  
  147. (complete 90)
  148.  
  149. (copyfiles
  150.   (prompt "Copying catalog files")
  151.   (help @copyfiles-help)
  152.   (source "Locale")
  153.   (dest "LOCALE:Catalogs")
  154.   (confirm)
  155.   (choices "english" "deutsch")
  156. )
  157.  
  158. (complete 100)
  159.